package com.qiuhui.mapper;

import com.qiuhui.entity.NbaTeam;
import com.qiuhui.untils.MybatisUntils;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;

import java.util.List;

/**
 * @ClassName: NbaTeamTets
 * @Description: TODO
 * @author: tian
 * @date: 2021/3/18  10:55 上午
 */
public class NbaTeamTets {
    @Test
    public void getnBbaTeam() {
        SqlSession sqlSession = MybatisUntils.getSqlSession();
        NbaTeamMapper mapper = sqlSession.getMapper(NbaTeamMapper.class);
        NbaTeam team = mapper.queryById(8);
        System.out.println(team);
    }
}
